<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    for(var i = 1;i<=9;i++){
            var s = '';
            for(var j = 1;j<=i;j++){
                s += j + '*' + i +'=' +(i*j)+'\t'
            }
            console.log(s);
        }
        console.log("===================================================================")
        for(var i = 1;i<=9;i++){
            var t = '';
            for(var j = i;j<=9;j++){
                t += i + '*' + j +'=' +(i*j)+'\t'
            }
            console.log(t);
        }
        console.log("===================================================================")
        for(var i = 1;i<=9;i++){
            var u = '';
            for(var k = 1;k<i;k++){
                u += "\t\t"
            }
            for(var j = i;j<=9;j++){
                u += i + '*' + j +'=' +(i*j)+'\t'
            }
            console.log(u);
        }

</script>
</html>